/**
 * group: 属于哪个分组, 比如tools、event、gateway、activity等等,用于分类
 * className: 样式类名, 我们可以通过它给元素修改样式
 * title: 鼠标移动到元素上面给出的提示信息
 * action: 用户操作时会触发的事件
 */
const newNode = [
  {
    id: 'create.exclusive-gateway',
    group: 'model',
    className: 'bpmn-icon-gateway-xor',
    title: '互斥网关',
    type: 'bpmn:ExclusiveGateway',
  },
  {
    id: 'create.parallel-gateway',
    group: 'model',
    className: 'bpmn-icon-gateway-parallel',
    title: '并行网关',
    type: 'bpmn:ParallelGateway',
  },
  {
    id: 'create.inclusive-gateway',
    group: 'model',
    className: 'bpmn-icon-gateway-or',
    title: '包容网关',
    type: 'bpmn:InclusiveGateway',
  },
  {
    id: 'create.user-task',
    group: 'model',
    className: 'bpmn-icon-user-task',
    title: '用户任务',
    type: 'bpmn:UserTask',
  },
  {
    id: 'create.service-task',
    group: 'model',
    className: 'bpmn-icon-service-task',
    title: '服务任务',
    type: 'bpmn:ServiceTask',
  },
];

export { newNode };
